const mconfig = (ajaxinstance) => {
  const mconfig = {}
  mconfig.getMconfigList = (postData) => { return ajaxinstance.get('/api/admin/mconfig/list', postData) }
  mconfig.getMconfigListAll = (postData) => { return ajaxinstance.get('/api/admin/mconfig/listAll', postData) }
  mconfig.getMconfigDetails = (postData) => { return ajaxinstance.get(`/api/admin/mconfig/detail/${postData}`) }
  mconfig.getMconfigCreate = (postData) => { return ajaxinstance.post('/api/admin/mconfig/create', postData) }
  mconfig.setMconfigUpdate = (postData) => { return ajaxinstance.post(`/api/admin/mconfig/update/${postData._id}`, postData) }
  mconfig.removeMconfig = (postData) => { return ajaxinstance.post(`/api/admin/mconfig/remove/${postData._id}`) }
  return mconfig
}

export default mconfig
